package com.lot.ws.dto;

public class ReadingDetails {

	String researchId;
	String groupId;
	String srcId;
	String deviceType;
	String deviceId;
	String location;
	String recordTime;
	String value;
	
	public ReadingDetails(String researchId, String groupId, String srcId,
			String deviceType, String deviceId, String location,
			String recordTime, String value) {
		super();
		this.researchId = researchId.trim();
		this.groupId = groupId.trim();
		this.srcId = srcId.trim();
		this.deviceType = deviceType.trim();
		this.deviceId = deviceId.trim();
		this.location = location.trim();
		this.recordTime = recordTime.trim();
		this.value = value.trim();
	}
	
	public ReadingDetails(String researchId, String groupId, String srcId,
			String deviceType, String deviceId, String location
			) {
		super();
		this.researchId = researchId.trim();
		this.groupId = groupId.trim();
		this.srcId = srcId.trim();
		this.deviceType = deviceType.trim();
		this.deviceId = deviceId.trim();
		this.location = location.trim();
	}
	
	
	public ReadingDetails(String researchId, String groupId, String srcId, String location){
		super();
		this.researchId = researchId.trim();
		this.groupId = groupId.trim();
		this.srcId = srcId.trim();
		this.location = location.trim();
	}
	
	public ReadingDetails(){
		super();
	}
	
	public String getResearchId() {
		return researchId;
	}
	public String getGroupId() {
		return groupId;
	}
	public String getSrcId() {
		return srcId;
	}
	public String getDeviceType() {
		return deviceType;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public String getLocation() {
		return location;
	}
	public String getRecordTime() {
		return recordTime;
	}
	public void setResearchId(String researchId) {
		this.researchId = researchId.trim();
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId.trim();
	}
	public void setSrcId(String srcId) {
		this.srcId = srcId.trim();
	}
	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType.trim();
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId.trim();
	}
	public void setLocation(String location) {
		this.location = location.trim();
	}
	public void setRecordTime(String recordTime) {
		this.recordTime = recordTime.trim();
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value.trim();
	}

	@Override
	public String toString() {
		return "ReadingDetails [researchId=" + researchId + ", groupId="
				+ groupId + ", srcId=" + srcId + ", deviceType=" + deviceType
				+ ", deviceId=" + deviceId + ", location=" + location
				+ ", recordTime=" + recordTime +  ", value=" + value + "]";
	}
	
}
